﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserCenter/UserMain.master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="Exhibition.UserCenter.Index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <script>

        function ModifyEmail(){
            $("#spemail").hide();
            $("#spemailinput").show();
        }
        function CancelEmail() {
            $("#spemail").show();
            $("#spemailinput").hide();
        }
        function ModifyPhone() {
            $("#spphone").hide();
            $("#spphoneinput").show();
        }
        function CancelPhone() {
            $("#spphone").show();
            $("#spphoneinput").hide();
        }
      
    </script> 
            <div class="title">账户信息</div>
            <div class="m_conbor">
                <div class="con zhinfo">
                    <ul>
                        <li><span class="span1">登&nbsp;录&nbsp;名：</span><span class="span2"><asp:Literal ID="ltrUserName" runat="server"></asp:Literal>  </span></li>

                        <li><span class="span1">
                            <label>*</label>
                            公司名称：</span><span class="span2"><input type="text" runat="server" id="CompName"  class="text" style="width: 250px" /></span></li>
                        <li><span class="span1">
                            <label>*</label>
                            真实姓名：</span><span class="span2"><input type="text" class="text" id="RealName" runat="server"  style="width: 160px" /></span></li>
                        <li><span class="span1">
                            <label>*</label>
                            性　　别：</span><span class="span2">
                                <input type="radio"  name="sex" value="0" checked="checked"/>
                                保密
                                <input type="radio"  name="sex" value="1"/>
                                男
                                <input type="radio"  name="sex" value="2"/>
                                女</span></li>
                        <li><span class="span1">
                            <label>*</label>
                            邮　　箱：</span><span class="span2"><span id="spemail"><span id="spcontent"><asp:Literal ID="ltrEmail" runat="server"></asp:Literal></span><a href="javascript:" onclick="ModifyEmail();">修改</a></span><span  id="spemailinput" style="display:none"><input type="text" id="txtEmail" /><a href="javascript:" onclick="YXQ.Main.UpdateEmail();">更新</a><a href="javascript:" onclick="CancelEmail();">取消</a></span><input type="button" class="yz" value=" " /></span></li>
                        <li><span class="span1">
                            <label>*</label>
                            手机号码：</span><span class="span2"><span id="spphone"><span id="sphcontent"><asp:Literal ID="ltrPhone" runat="server"></asp:Literal></span><a href="javascript:"  onclick="ModifyPhone()">修改</a></span><span  id="spphoneinput" style="display:none"><input type="text" id="txtPhone" /><a href="javascript:" onclick="YXQ.Main.UpdatePhone();">更新</a><a href="javascript:" onclick="CancelPhone();">取消</a></span></span></li>
                        <li><span class="span1">
                            <label>*</label>
                            所&nbsp;在&nbsp;地：</span>
                            <span class="span2">
                                <select id="areaPid" onchange="YXQ.Main.ChangeArea(this.value)" runat="server">
                                    <option selected="selected">请选择</option> 
                                </select>
                                <select id="areaid" runat="server" datafield="areaid">
                                    <option selected="selected">请选择</option>
                                    
                                </select>
                                <input type="text" class="text"  id="Address"  runat="server" style="width:300px;"/>
                            </span>
                        </li>
                    </ul>
                </div>
                <div class="i_title">选填信息</div>
                <script type="text/javascript">
                    $(function () {
                        YXQ.UploadCenter.FileUploadCenter("uploadUserlogo");
                    })
                </script>
                <div class="con zhxt">
                    <ul>
                        <li style="margin-left:100px"> 
                            
                             <input type="hidden" runat="server" id="hfId"  datafield="hfId" />
                            <span id="spPic" runat="server" datafield="spPic" ><img src="../images/nopic.jpg"  width="100" height="100"/></span>
                                <input type="hidden" runat="server" id="hfPic" datafield="hfPic" />
                             </li>
                        <li><span class="span1">公司标志：</span>
                            <div id="fileQueue">
                         <ul><li><input type="file" name="uploadify" id="uploadify" /></li> <li>
                              <input type="button" class="file" value="上传"   onclick="$('#uploadify').uploadifyUpload();"/></li> 
                                
                               </ul></div> </li>
                        <li><span class="span1">邮政编码：</span><input type="text" class="text"  id="PostCode"  runat="server"/></li>
                        <li><span class="span1">联 系 人：</span><input type="text" class="text" id="ContactMan"  runat="server" /></li>
                        <li><span class="span1">职　　务：</span><input type="text" class="text"  id="Position" runat="server" /></li>
                        <li><span class="span1">公司电话：</span><input type="text" class="text" style="width: 60px" id="PhoneStart" runat="server"/>
                            —
                            <input type="text" class="text" style="width: 134px" id="PhoneNum" runat="server" /></li>
                        <li><span class="span1">公司传真：</span><input type="text" class="text" style="width: 60px"  id="FaxStart" runat="server"/>
                            —
                            <input type="text" class="text" style="width: 134px"  id="FaxNum" runat="server"/></li>
                        <li><span class="span1">公司网址：</span><input type="text" class="text"  id="CompWebSite" runat="server"/></li>
                        <li><span class="span1">认可联系方式：</span><p>
                            <asp:Literal ID="ltrContact" runat="server"></asp:Literal>            </p>
                        </li>
                        <li><span class=" span1">&nbsp;</span><asp:Button ID="btnSave" CssClass="file"  runat="server" Text="提交" OnClick="btnSave_Click"/> 
                            <input type="reset" class="file" value="重置" /></li>
                    </ul>
                </div>
            </div>

</asp:Content>
